#include <iostream>
#include <unistd.h>
using namespace std; 


int main(){

	cout << getpid() << endl; 
	cout << getppid() << endl; 
	cout << getuid() << endl; 
	cout << geteuid() << endl; 
	cout << getgid() << endl; 
	cout << getegid() << endl;
}

